package com.ctshk.rpc.order.air.dto;

import com.ctshk.rpc.order.air.req.orderDetail.AirOrderFlightData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value = "订单列表DTO")
public class AirOrderListDTO implements Serializable {
    private static final long serialVersionUID = -5783282271201738212L;

    @ApiModelProperty(value = "订单唯一标识Id")
    private Long id;



    @ApiModelProperty(value = "订单行程类型")
    private Integer tripType;


    @ApiModelProperty(value = "订单总额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "销售单号")
    private String orderNumber;

    @ApiModelProperty(value = "付款状态")
    private Integer paymentStatus;

    @ApiModelProperty(value = "付款状态名称")
    private String paymentStatusName;

    @ApiModelProperty(value = "预订状态")
    private Integer scheduledStatus;

    @ApiModelProperty(value = "预订状态名称")
    private String scheduledStatusName;

    @ApiModelProperty(value = "来源")
    private Integer source;

    @ApiModelProperty(value = "来源名称")
    private String sourceName;

    @ApiModelProperty(value = "销售人员id")
    private Long salesmanId;

    @ApiModelProperty(value = "销售人员名称")
    private String salesmanName;

    @ApiModelProperty(value = "联系人姓名")
    private String contactName;

    @ApiModelProperty(value = "创建时间 ")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "付款到期时间")
    private LocalDateTime payExpireDate;

    @ApiModelProperty(value = "是否需要显示确认订单按钮")
    private  boolean isConfirmBtn;

    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    @ApiModelProperty(value = "订单类型 是否为外挂单 0不是  1是,默认为0")
    private Integer orderType;

    @ApiModelProperty(value = "订单航班信息")
    private List<AirOrderFlightData> airOrderFlightDataList;

    @ApiModelProperty(value = "创建人id")
    private Long createId;

    @ApiModelProperty(value = "取消状态")
    private Integer cancelStatus;

    @ApiModelProperty(value="C端用户Id")
    private Long userId;

    @ApiModelProperty(value = "小店id")
    private Long shopId;
}
